package com.zyy.decorator;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/08/01 22:45
 */
public class FiredRice extends FastFood {
    public FiredRice() {
        super(10, "炒饭");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
